package com.macken.wow.util;

public class SendMailThread extends Thread {
	private static String subject = "魔兽天堂账号验证";
	private static String content = "wow-test";
	private static String domain = "http://www.wow-heaven.com/verify.do?";
	String to;
	String code;
	public SendMailThread(String to, String code) {
		this.to = to;
		this.code = code;
	}

	@Override
	public void run() {
		content = "点击或复制验证地址:" + domain + "email=" + to + "&code=" + code;
		EmailUtil.send(to, subject, content);
	}

}
